load balancer: added least request/random/round robin load balancer extension#23472
load balancer: added least request/random/round robin load balancer extension#23472wbpcode merged 23 commits intoenvoyproxy:mainfrom
Conversation
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
|
cc @markdroth This is the first implementation for the load balancer extension. And it would be very quick to convert the other policies to the extension implementation. In this implementation, I treat the |
|
Hi, @mattklein123 this is ready for a formal code review 😺 |
mattklein123
left a comment
There was a problem hiding this comment.
Thanks for working on this. A few questions. Thank you.
/wait
It's in my TODO list. |
Get it. |
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
|
Awesome! Please cc me on those as I have an annual resolution to avoid more forceRegister problems for E-M and we'll probably need to add some forceRegister there :-P |
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
cc @alyssawilk I think I have added some |
|
Sorry I'm theoretically out today so I'm going to ask Rafal to take a look. |
|
we use round robin so most probably we will need to register factory related to it (in a manner similar to the PR shared by Alyssa https://github.com/envoyproxy/envoy/pull/24750/files). Trying to verify it now in #24797 and will report back. |
I see. This PR doesn't move the implementation of LBs to |
|
/retest |
|
Retrying Azure Pipelines: |
…xtension (envoyproxy#23472) * load balancer: update related methodsfor load balancer extensions Signed-off-by: wbpcode <wangbaiping@corp.netease.com> Signed-off-by: VishalDamgude <vishal.damgude@freshworks.com>
Commit Message: load balancer: added least request/random/round robin load balancer extension
Additional Description:
Part of work of #20634. This PR make the least request/random/round robin load balancer as an extension and could be configured by the
load_balancing_policy.One-page simple roadmap doc about the new extensions.
https://docs.google.com/document/d/1GtayHX8orSEChtdn_2stRB8BNY2LE0Y0FatDVGODNHA/edit?usp=sharing
Risk Level: Low. Not change current behavior.
Testing: wait.
Docs Changes: wait.
Release Notes: wait.
Platform Specific Features: wait.